package networkmodule.message;

import config.Config;

public class MessageFactory {
	public static CommandMessage createCommandSendMessage(String message)
	{
		CommandMessage cmd = new CommandMessage();
		cmd.setCommand(Config.COMMAND_SENDMESSAGE);
		cmd.addParams(Config.COMMAND_MESSAGE_DATA, message);
		return cmd;
	}
	
	public static CommandMessage createCaptureOrientation()
	{
		CommandMessage cmd = new CommandMessage();
		cmd.setCommand(Config.COMMAND_CAPTUREORIENTATION);
		//cmd.addParams(Config.COMMAND_MESSAGE_DATA, message);
		return cmd;
	}
	
	public static CommandMessage createFilterMode()
	{
		CommandMessage cmd = new CommandMessage();
		cmd.setCommand(Config.COMMAND_FILTERMODE);
		//cmd.addParams(Config.COMMAND_MESSAGE_DATA, message);
		return cmd;
	}
	
	public static SensorMessage createSensorMessage()
	{
		SensorMessage result = new SensorMessage();
		return result;
	}
}